package com.woniuxy.food.client.foodpropvalueclient;

import com.woniuxy.food.client.result.ClientFoodPropDto;
import com.woniuxy.food.client.result.FoodPropValueClientDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

import java.util.List;

@FeignClient(contextId = "foodPropValueQueryClient",name = "food")
public interface FoodPropValueQueryClient {

    @GetMapping("/searchFoodPropValueByFoodPropId")
    public Result<List<FoodPropValueClientDto>> searchFoodPropValueByFoodPropId(@RequestParam("storeId")Integer storeId, @RequestParam("foodPropId")Integer foodPropId);
}
